import moment from "moment";
//YYYY-MM-DD 返回年月日  MM_DD //返回月日
const getFullTime = (timeInfo:string,timeStamp: number) => {
  const stamp = new Date(timeStamp);
  const time = moment(stamp).format(timeInfo);
  return time;
};
export default getFullTime;
